import React from "react";
import Loadable from "react-loadable";
import Loading from "../components/loading"

const HomeList=Loadable({
    loader: ()=>import("../pages/HomeList"),
    loading(){
        return <Loading/>
    }
})
const DetailList=Loadable({
    loader: ()=>import("../pages/DetailList"),
    loading(){
        return <Loading/>
    }
})
export default [
    {
        path:"/vin/list",
        component:<HomeList/>
    },
    {
        path:"/vin/major",
        component:<DetailList/>
    }
]